<?php

class feedback{
    /** @var int */
    protected $id = 0;
    /** @var string */
    protected $content = '';
    /** @var string */
    protected $releaseTime = '2000-01-01 00:00:00';

    /**
     * @param string $content
     */
    public function setContent($content)
    {
        $this->content = $content;
    }

    /**
     * @return string
     */
    public function getContent()
    {
        return $this->content;
    }

    /**
     * @param int $id
     */
    public function setId($id)
    {
        $this->id = $id;
    }

    /**
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }
    /**
     * @param string $releaseTime
     */
    public function setReleaseTime($releaseTime)
    {
        $this->releaseTime = $releaseTime;
    }

    /**
     * @return string
     */
    public function getReleaseTime()
    {
        return $this->releaseTime;
    }

    /**
     * @return array
     */
    public function getDataArray()
    {
        return array(
            'id'                  => $this->getId(),
            'content'             => $this->getContent(),
            'releaseTime'         => $this->getReleaseTime(),
        );
    }
}